import 'package:flutter/material.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBEngineer/YBBaseRouter/YBApplication.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBColor/YBColor.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBTextStyle/YBTextStyle.dart';

class YBMiShuTongListSubPage extends StatelessWidget {

  final String timeStr;
  final String addressStr;
  final String contentStr;

  final String sysCode;
  final String requestCode;

  const YBMiShuTongListSubPage({Key key, this.timeStr, this.addressStr, this.contentStr,this.sysCode,this.requestCode}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        Container(
          child: Padding(
            padding: EdgeInsets.only(left: YBTextStyle.adapterSize20,right: YBTextStyle.adapterSize20),
            child: Column(
              mainAxisAlignment: MainAxisAlignment.center,
              crossAxisAlignment: CrossAxisAlignment.start,
              children: [
                Container(
                  height: YBTextStyle.adapterSize12,
                ),
                Container(
                  child: Row(
                    mainAxisAlignment: MainAxisAlignment.spaceBetween,
                    crossAxisAlignment: CrossAxisAlignment.center,
                    children: [
                      Container(
                        child: Text(timeStr??"",style: YBTextStyle.TextStyle1B1C1F15Medium,),
                      ),
                      Container(
                        child: Text(addressStr??"",style: YBTextStyle.TextStyle6E737A13,),
                      ),
                    ],
                  ),
                ),
                Container(
                  height: YBTextStyle.adapterSize15,
                ),
                Container(
                  child: Text(contentStr??"",style: YBTextStyle.TextStyle71747A14,maxLines: 2,),
                ),
                Container(
                  height: YBTextStyle.adapterSize15,
                ),
              ],
            ),
          ),
        ),
        Container(
          height: YBTextStyle.adapterSize5,
          color: YBColor.colorF5F5F7,
        )
      ],
    );
  }
}
